package com.mlk.reback.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mlk.core.constants.Constant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * @author trekxu
 * @since 2019-07-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EngRebackTicket implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String ticketId;
    /**
     * openId
     */
    private String openId;
    /**
     * 用户姓名
     */
    private String name;
    /**
     * 用户手机号码
     */
    private String phone;
    /**
     * 用户地址
     */
    private String address;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = Constant.DATE_TIME_FORMAT)
    private Date createTime;
    /**
     * 接收时间
     */
    @JsonFormat(pattern = Constant.DATE_TIME_FORMAT)
    private Date handlerTime;
    /**
     * 完成时间
     */
    @JsonFormat(pattern = Constant.DATE_TIME_FORMAT)
    private Date finishTime;

}
